﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
		<title>cateclub &#32654;&#39135;&#20465;&#20048;&#37096;——共享美食、汇聚各地美食</title>
		<link href="style/index.css" type="text/css" rel="stylesheet" />
		<link href="uploadify/uploadify.css" type="text/css" rel="stylesheet" />
	</head>
	<body>
		<div id="page">
			<div id="header">
				<div id="nav-bar">
					<div class="content">
						<div id="logo" href="/">
							<img src="images/logo.png" alt="" />
						</div>
						<div style="float: right;"><a id='login' href="#">登录-注册</a></div>
					</div>
				</div>
			</div>
			<div id="main">
				<div id="map">
					
				</div>
				<div id="panel">
					
				</div>
				<div id="shad">
					<div id="shad_v"></div>
					<div id="shad_h"></div>
					<div id="shad_h_b"></div>
				</div>
			</div>
			
			<div id="footer">
				<span id="icp" class="fleft gray-link"> &copy; 2011 cateclub.com, all rights reserved </span>
				<span class="fright">
					<a href="http://www.cateclub.com/about">关于美食俱乐部</a>
					· 
					<a href="http://www.cateclub.com/about?topic=contactus">联系我们</a>
				</span>
			</div>
			
			<!--
			<div id="container">
				<div id="left-content">
					<div>
						<input type="file" name="file_upload" id="file_upload"></input>
					</div>
					<div class="item">
					</div>
					<div class="item">
					</div>
					<div class="item">
					</div>
				</div>
				<div id="right-content">
				</div>
			</div>
			-->
		</div>
		<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.2"></script>
		<script type="text/javascript" src="uploadify/jquery-1.4.2.min.js"></script>
		<script type="text/javascript" src="uploadify/swfobject.js"></script>
		<script type="text/javascript" src="uploadify/jquery.uploadify.v2.1.4.min.js"></script>
		<script type="text/javascript" src="js/cateclub.js"></script>
		<script type="text/javascript">
			$(document).ready(function() {
				$('#file_upload').uploadify({
					'uploader'  : 'uploadify/uploadify.swf',
					'script'    : 'uploadify/uploadify.php',
					'cancelImg' : 'uploadify/cancel.png',
					'folder'    : 'uploads',
					'auto'      : true
				});
				
				/**自适应窗口大小*/
				var wh = getWindowHeight() - 72 - 60;
				$('#map').height(wh);
				$('#panel').height(wh);
				$('#shad_v').height(wh);
				
				/**初始化地图*/
				var map = new BMap.Map("map");            // 创建Map实例
				var point = new BMap.Point(116.404, 39.915);    // 创建点坐标
				map.centerAndZoom(point,11);                     // 初始化地图,设置中心点坐标和地图级别。
				map.enableScrollWheelZoom();
				map.enableContinuousZoom();
				//getFoods();
			});
  			
		</script>
	</body>
</html>